package com.informatics.polymer.server.Polymerisation;

/**
 * Class to create an Unbuildable exception, to be thrown if a polymer can't be
 * built.
 * 
 * @author eoc21
 * 
 */
public class UnbuildableException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Creates object of UnbuildableException.
	 */
	public UnbuildableException() {
	}

	/**
	 * Creates object of UnbuildableException.
	 * 
	 * @param msg
	 *            - String message to report an error.
	 */
	public UnbuildableException(final String msg) {
		super(msg);
	}

	/**
	 * Creates object of UnbuildableException.
	 * 
	 * @param cause
	 *            - Reason for throwing the exception.
	 */
	public UnbuildableException(final Throwable cause) {
		super(cause);
	}

	/**
	 * Creates an object of UnbuildableException.
	 * 
	 * @param msg
	 *            - String message to report an error.
	 * @param cause
	 *            - Reason for throwing the exception.
	 */
	public UnbuildableException(final String msg, final Throwable cause) {
		super(msg, cause);
	}

}
